import {request} from "../utils/request"

// 获取导航栏
export function listNav(){
 return request({
    url:"/nav/get",
    method:'POST'
  })
}

// 获取新闻列表
export function queryNews(data){
  return request({
     url:"/news/get",
     method:'POST',
     data
   })
 }

// 获取新闻详情
export function queryNewsDetail(data){
  return request({
     url:"/news/detail",
     method:'POST',
     data
   })
 }

//  获取产品列表
export function queryProduct(data){
  return request({
     url:"/product/getlist",
     method:'POST',
     data
   })
 }

 export function queryProDetail(data){
  return request({
     url:"/product/detail",
     method:'POST',
     data
   })
 }
